package com.yanyilu.basing.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Sxx
 * @since 2020-10-30
 */
@Data
@Accessors(chain = true)
@TableName("count_point")
public class CountPoint extends Model<CountPoint> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "count_id", type = IdType.AUTO)
    private Integer countId;

    /**
     * 点击数量
     */
    @TableField("point_count")
    private Integer pointCount;

    /**
     * 按钮名称
     */
    @TableField("btn_name")
    private String btnName;

    /**
     * 当日时间
     */
    @TableField("day_time")
    private Integer dayTime;


    @Override
    protected Serializable pkVal() {
        return this.countId;
    }

}
